class ValueLevelService {

    boolean transactional = true

    def getCodeListByLevel(code) {
        if(code == "高中"){
            return org.grails.plugins.lookups.Lookup.codeList("coursesHigh")
        }
        if(code == "初中"){
            return org.grails.plugins.lookups.Lookup.codeList("coursesJunior")
        }
        if(code == "小学"){
            return org.grails.plugins.lookups.Lookup.codeList("courses")
        }
        return new ArrayList()
    }
}
